"""
@Project ：python
@File    ：03-类和对象.py
@IDE     ：PyCharm
@Author  ：DongCha
@Date    ：2024/4/10 010 19:45
"""


class Clock:
    id = None
    price = None

    def ring(self):
        import winsound
        winsound.Beep(500, 3000)


clock = Clock()
clock.id = "DongCha"
clock.price = 1000
clock.ring()
